Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


ClientUAMCallbackRec Structure

The ClientUAMCallbackRec structure is a field in the UAMArgs structure used to store pointers to callback routines. UAMs written for PowerPC-based Macintosh computers must use the CallUniversalProc routine to call the UAM callback routines; UAMs written for 68K -based Macintosh computers jump to the callback routines as if they were function pointers.

struct ClientUAMCallbackRec {
    UniversalProcPtr    OpenSessionUPP;
    UniversalProcPtr    SendRequestUPP;
    UniversalProcPtr    CloseSessionUPP;
    UniversalProcPtr    GetClientInfoUPP;
    UniversalProcPtr    SetMicUPP;
    UniversalProcPtr    EventProcUPP;
};
OpenSessionUPP
A pointer to an AFP client's OpenSession callback routine.
SendRequestUPP
A pointer to an AFP client's SendRequest callback routine.
CloseSessionUPP
A pointer to an AFP client's CloseSession callback routine.
GetClientInfoUPP
A pointer to an AFP client's GetClientInfo call back routine.
SetMicUPP
A pointer to an AFP client's SetMic callback routine .
EventProcUpp
A pointer to an AFP client's EventProc callback routine.

© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)